package functiiElementare;

import functii.Functie;
/**
 * @author Feri
 */
/**
 *  This class is the implementation of the unknown in the function. <br />
 * See <A href="https://sites.google.com/site/sabloanedeproiectare/refactoring" > Design Patterns Lab </A>
 */
public class Necunoscuta extends Functie{
	/**
	 *  This class is the implementation of the unknown in the function. <br />
	 * See <A href="https://sites.google.com/site/sabloanedeproiectare/refactoring" > Design Patterns Lab </A>
	 */
	/**
	 * Returns the unknown member.
	 */
	public double calcul(){
		return x;
	}
	/**
	 * Returns "1" after the derivation. 
	 */
	@Override
	public String derivare() {
		// TODO Auto-generated method stub
		return "1";
	}
	/**
	 * Returns 1 after the derivation. 
	 */
		@Override
	public double calculDerivata() {
		// TODO Auto-generated method stub
		return 1;
	}
	/**
	 * Returns "x", the unknown.
	 */
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return "x";
	}
	@Override
	public String concatTermeni(String aux) {
		// TODO Auto-generated method stub
		return null;
	}
}
